﻿
using HualongExcel.Enum;
using HualongExcel.Utilities;

namespace HualongExcel
{
    public partial class HualongExcel
    {
        private void HualongExcel_Startup(object sender, System.EventArgs e)
        {
            //System.Windows.Forms.MessageBox.Show("欢迎使用Excel插件");
           
            Common.WorktemplatePath = (string)SaveHelper.GetData(WorkTemplateConstant.Worktemplatepath.ToString());
            Common.LoadGenerateCount();//加载生成数量
            //ExcelPackage.LicenseContext = LicenseContext.NonCommercial;


       

        }

        private void HualongExcel_Shutdown(object sender, System.EventArgs e)
        {
        }

        #region VSTO 生成的代码

        /// <summary>
        /// 设计器支持所需的方法 - 不要修改
        /// 使用代码编辑器修改此方法的内容。
        /// </summary>
        private void InternalStartup()
        {
            this.Startup += new System.EventHandler(HualongExcel_Startup);
            this.Shutdown += new System.EventHandler(HualongExcel_Shutdown);
        }

        #endregion
    }
}
